<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'searchshow.jsp' starting page</title>
  </head>
  <body>
      <table  align="center" width="100%">
        <tr>
		  <td >序号</td>
          <td >姓名</td>
          <td >电话</td>
          <td >电子邮件</td>
          <td >QQ</td>
          <td >所在分组</td>
        </tr>
        <c:forEach var="contact" items="${list}">
        <tr >
        	<td>${contact.contactid }</td>
        	<td>${contact.contactname }</td>
        	<td>${contact.phone }</td>
        	<td>${contact.email }</td>
        	<td>${contact.qq }</td>
        	<td>${contact.groupid }</td>
        </tr>
        </c:forEach>
      </table>
  </body>
</html>
